<?php
/**
 * Created by PhpStorm.
 * User: User
 * Date: 2017/9/18
 * Time: 19:04
 */
echo '<table align="center" border="1"> ';
for ($i = 0; $i <= 99; $i++) {


    if ($i % 10 == 0) {
        if ($i % 20 == 0) {
            echo '<tr>';
        } else echo '<tr style="background-color: aqua">';
    }
    echo '<td style="font-size: 20px">' . $i . '</td>';
}